package com.example.seh.chat;

import com.example.seh.UserDTO;

public class ChatUserDTO {
    private UserDTO userDTO;//聊天对象
    private String lastMessage;//最后一条消息
    private String lastSendTime;//最后一条消息时间

    public UserDTO getUserDTO() {
        return userDTO;
    }

    public void setUserDTO(UserDTO userDTO) {
        this.userDTO = userDTO;
    }

    public String getLastMessage() {
        return lastMessage;
    }

    public void setLastMessage(String lastMessage) {
        this.lastMessage = lastMessage;
    }

    public String getLastSendTime() {
        return lastSendTime;
    }

    public void setLastSendTime(String lastSendTime) {
        this.lastSendTime = lastSendTime;
    }

    @Override
    public String toString() {
        return "ChatUserDTO{" +
                "userDTO=" + userDTO +
                ", lastMessage='" + lastMessage + '\'' +
                ", lastSendTime='" + lastSendTime + '\'' +
                '}';
    }
}